package com.apop.accompany.stuff.service;

import com.apop.accompany.stuff.entity.Stuff;
import com.apop.common.model.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JiayiZheng
 * @since 2024-10-05
 */
public interface StuffService extends IService<Stuff> {

    List<Stuff> getAll();

    Stuff getById(Integer id);
    int update(Stuff stuff);
    int deleteById(Integer id);
    int deleteBatch(List<Integer> ids);
    PageResult getList(Integer pageNum, Integer pageSize);
}
